package com.woniuxy.three.pms.util;

import java.text.SimpleDateFormat;
import java.util.Date;



public class DateUlti {

	
	public static String getTime() {

	long l = System.currentTimeMillis();
	
	Date date = new Date(l);
	
	SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	
	System.out.println(dateFormat.format(date));

	
	return dateFormat.format(date);
	}
}
